package com.atguigu.client;

import com.atguigu.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

@Component
@FeignClient(value = "service-ucenter")
public interface UcenterClient {
    @GetMapping("getMemberInfo")
    public R getMemberInfo(HttpServletRequest request);
}
